import Mock from 'mockjs' // 引入mockjs

 
let data = {
    "type":"2","note":"缺水","grade":"A","des":"严重","max":"999"
} 

Mock.mock('/action/alarm_man', 'get', data) // 根据数据模板生成模拟数据